package com.wanjia.estate.pojo.httpservice;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class Gmjbxxdb {

    @Data
    public static class Request implements Serializable {
        private List<RequestData> data;
    }

    @Data
    public static class RequestData implements Serializable {
        /**
         * 公民身份证
         */
        private String gmsfzh;
        /**
         * 姓名
         */
        private String xm;
    }


    @Data
    public static class Response implements Serializable {
        private Integer code;
        private String msg;
        private List<ResponseData> data;
    }

    @Data
    public static class ResponseData implements Serializable {
        @JSONField(name = "EXIST")
        private String exist;
        @JSONField(name = "GMSFHM")
        private String gmsfhm;
        @JSONField(name = "XM")
        private String xm;
    }
}
